package abc.ynny.domo10;

public class SummarizeTest {
    public static void main(String[] args) {
        Basketball b = new Basketball();
        b.toSport();
        System.out.println("--------------------");
        Football f = new Football();
        f.toSport();
        f.study();
        System.out.println("--------------------");
        Pupil p = new Pupil();
        p.student();
        System.out.println("--------------------");
        CollegeStudent c = new CollegeStudent();
        c.student();
        c.play();
        c.study();
    }
}
